Skip to content

Add Persona logout link#19

Open
junn-dev wants to merge 1 commit into
Docport:masterfrom
junn-dev:codex/persona-logout
Open

Add Persona logout link#19
junn-dev wants to merge 1 commit into
Docport:masterfrom
junn-dev:codex/persona-logout

Conversation

@junn-dev
Copy link
Copy Markdown

Fixes #10.

This adds a visible logout action for authenticated users and wires it to Mozilla Persona logout. The local saved user is cleared and the app returns to the login screen when Persona reports logout, with a local fallback when Persona is unavailable.

Validation:

  • Compiled src/documents/scripts/views/app.js.coffee with CoffeeScript 1.12.7
  • Compiled src/documents/index.html.coffee body after DocPad front matter with CoffeeScript 1.12.7
  • Ran git diff --check

Note: full npm install is blocked by an obsolete dependency URL in this legacy project (substack/querystring 0.2.0-ie8 tarball returns 404).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persona Logout [$15]

1 participant